package com.study.a05Test;

public class TeddyDog extends Dog{

    @Override
    public void eat() {
        System.out.println("一只叫"+getName()+"泰迪"+getAge()+"岁，吃肉");
    }
}
